Completed
Push — master ( 029898...63d8f1 )
by Andres
01:05
created

redox.js ➔ redox   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
dl 0
loc 9
rs 9.6666
nop 6
1
'use strict';
2
3
angular.module('game').component('redox', {
4
  templateUrl: 'views/redox.html',
5
  controller: ['state', 'data', 'visibility', 'util', 'format', 'reaction', redox],
6
  controllerAs: 'ct'
7
});
8
9
function redox(state, data, visibility, util, format, reaction) {
10
  let ct = this;
11
  ct.state = state;
12
  ct.data = data;
13
  ct.visibility = visibility;
14
  ct.util = util;
15
  ct.format = format;
16
  ct.reaction = reaction;
17
}
18